@burtson-labs/bandit-engine 2.0.141 → 2.0.142
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chat-OBHYQWXK.mjs → chat-OD4BF2XP.mjs} +4 -4
- package/dist/{chunk-3C2RRTYB.mjs → chunk-CH5MEX6Q.mjs} +5 -5
- package/dist/{chunk-EN54BLJ2.mjs → chunk-EWAZFMA3.mjs} +33 -160
- package/dist/chunk-EWAZFMA3.mjs.map +1 -0
- package/dist/{chunk-JONBKV2S.mjs → chunk-F735W34E.mjs} +1 -2
- package/dist/{chunk-PA4VYO4R.mjs → chunk-K6IV4LYZ.mjs} +2 -2
- package/dist/{chunk-BVYSGIWG.mjs → chunk-P5IJLX6I.mjs} +2 -2
- package/dist/index.js +2113 -2237
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/management/management.js +82 -206
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +4 -4
- package/dist/modals/chat-modal/chat-modal.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-EN54BLJ2.mjs.map +0 -1
- /package/dist/{chat-OBHYQWXK.mjs.map → chat-OD4BF2XP.mjs.map} +0 -0
- /package/dist/{chunk-3C2RRTYB.mjs.map → chunk-CH5MEX6Q.mjs.map} +0 -0
- /package/dist/{chunk-JONBKV2S.mjs.map → chunk-F735W34E.mjs.map} +0 -0
- /package/dist/{chunk-PA4VYO4R.mjs.map → chunk-K6IV4LYZ.mjs.map} +0 -0
- /package/dist/{chunk-BVYSGIWG.mjs.map → chunk-P5IJLX6I.mjs.map} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chat_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EWAZFMA3.mjs";
|
|
4
4
|
import "./chunk-ONQMRE2G.mjs";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-P5IJLX6I.mjs";
|
|
6
6
|
import "./chunk-K2JGFKEB.mjs";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-F735W34E.mjs";
|
|
8
8
|
import "./chunk-NLBZZP3B.mjs";
|
|
9
9
|
import "./chunk-EORIRPPX.mjs";
|
|
10
10
|
import "./chunk-43MLINPL.mjs";
|
|
@@ -13,4 +13,4 @@ import "./chunk-BJTO5JO5.mjs";
|
|
|
13
13
|
export {
|
|
14
14
|
chat_default as default
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=chat-
|
|
16
|
+
//# sourceMappingURL=chat-OD4BF2XP.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StreamingMarkdown_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-P5IJLX6I.mjs";
|
|
4
4
|
import {
|
|
5
5
|
aiProviderInitService
|
|
6
6
|
} from "./chunk-F7JXIW6T.mjs";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-K2JGFKEB.mjs";
|
|
15
15
|
import {
|
|
16
16
|
chat_modal_default
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-K6IV4LYZ.mjs";
|
|
18
18
|
import {
|
|
19
19
|
AddIcon,
|
|
20
20
|
ArchiveIcon,
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
predefinedThemes,
|
|
84
84
|
useNotificationService,
|
|
85
85
|
useVoiceStore
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-F735W34E.mjs";
|
|
87
87
|
import {
|
|
88
88
|
TOPICS,
|
|
89
89
|
brandingService_default,
|
|
@@ -9776,7 +9776,7 @@ var MCPToolsTabV2_default = MCPToolsTabV2;
|
|
|
9776
9776
|
|
|
9777
9777
|
// src/management/management.tsx
|
|
9778
9778
|
import { jsx as jsx14, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
9779
|
-
var preloadChatPage = () => import("./chat-
|
|
9779
|
+
var preloadChatPage = () => import("./chat-OD4BF2XP.mjs");
|
|
9780
9780
|
var buildCapabilitiesUrl = (gatewayApiUrl) => {
|
|
9781
9781
|
const trimmed = gatewayApiUrl.replace(/\/$/, "");
|
|
9782
9782
|
if (trimmed.endsWith("/api")) {
|
|
@@ -11149,4 +11149,4 @@ export {
|
|
|
11149
11149
|
useGatewayMemory,
|
|
11150
11150
|
management_default
|
|
11151
11151
|
};
|
|
11152
|
-
//# sourceMappingURL=chunk-
|
|
11152
|
+
//# sourceMappingURL=chunk-CH5MEX6Q.mjs.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-ONQMRE2G.mjs";
|
|
4
4
|
import {
|
|
5
5
|
StreamingMarkdown_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-P5IJLX6I.mjs";
|
|
7
7
|
import {
|
|
8
8
|
useMCPToolsStore
|
|
9
9
|
} from "./chunk-K2JGFKEB.mjs";
|
|
@@ -15,8 +15,6 @@ import {
|
|
|
15
15
|
CheckIcon,
|
|
16
16
|
CloseIcon,
|
|
17
17
|
ComposeIcon,
|
|
18
|
-
ExpandMoreIcon,
|
|
19
|
-
FeedbackIcon,
|
|
20
18
|
FeedbackModal,
|
|
21
19
|
GhostIcon,
|
|
22
20
|
GraphicEqIcon,
|
|
@@ -38,7 +36,7 @@ import {
|
|
|
38
36
|
useNotificationService,
|
|
39
37
|
useTTS,
|
|
40
38
|
useVoiceStore
|
|
41
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-F735W34E.mjs";
|
|
42
40
|
import {
|
|
43
41
|
brandingService_default,
|
|
44
42
|
detectMessageMood,
|
|
@@ -51,7 +49,6 @@ import {
|
|
|
51
49
|
getRandomTopicOfInterest,
|
|
52
50
|
pickDistinctRandomTopics,
|
|
53
51
|
sanitizeConversationName,
|
|
54
|
-
toTitleCase,
|
|
55
52
|
useAIQueryStore,
|
|
56
53
|
useConversationStore,
|
|
57
54
|
useConversationSyncStore,
|
|
@@ -898,7 +895,7 @@ var chat_messages_default = ChatMessages;
|
|
|
898
895
|
|
|
899
896
|
// src/chat/chat-input.tsx
|
|
900
897
|
import { useEffect as useEffect4, useRef as useRef2, useState as useState6 } from "react";
|
|
901
|
-
import { Box as Box6, TextField as TextField2, IconButton as IconButton5, Tooltip as Tooltip2, Avatar as Avatar2, Typography as Typography3, CircularProgress as CircularProgress2
|
|
898
|
+
import { Box as Box6, TextField as TextField2, IconButton as IconButton5, Tooltip as Tooltip2, Avatar as Avatar2, Typography as Typography3, CircularProgress as CircularProgress2 } from "@mui/material";
|
|
902
899
|
|
|
903
900
|
// src/chat/engine-picker.tsx
|
|
904
901
|
import { useEffect as useEffect3, useState as useState4 } from "react";
|
|
@@ -1100,9 +1097,6 @@ var EnginePickerPill = () => {
|
|
|
1100
1097
|
};
|
|
1101
1098
|
var engine_picker_default = EnginePickerPill;
|
|
1102
1099
|
|
|
1103
|
-
// src/chat/chat-input.tsx
|
|
1104
|
-
import { Volume2 as VoicePickerIcon } from "lucide-react";
|
|
1105
|
-
|
|
1106
1100
|
// src/services/stt/transcriber.tsx
|
|
1107
1101
|
import { useState as useState5, useRef } from "react";
|
|
1108
1102
|
|
|
@@ -1422,14 +1416,11 @@ var ChatInput = (props) => {
|
|
|
1422
1416
|
);
|
|
1423
1417
|
const [memoryOpen, setMemoryOpen] = useState6(false);
|
|
1424
1418
|
const [fileInputs, setFileInputs] = useState6([]);
|
|
1425
|
-
const [voiceAnchorEl, setVoiceAnchorEl] = useState6(null);
|
|
1426
1419
|
const isIncognito = useConversationStore(
|
|
1427
1420
|
(s) => Boolean(s.conversations.find((c) => c.id === s.currentId)?.incognito)
|
|
1428
1421
|
);
|
|
1429
1422
|
const fileInputRef = useRef2(null);
|
|
1430
1423
|
const [brandingText, setBrandingText] = useState6("");
|
|
1431
|
-
const [feedbackModalOpen, setFeedbackModalOpen] = useState6(false);
|
|
1432
|
-
const [moreActionsOpen, setMoreActionsOpen] = useState6(false);
|
|
1433
1424
|
const compactMobile = isMobile;
|
|
1434
1425
|
const primaryIconSize = isMobile ? 32 : 40;
|
|
1435
1426
|
const sendIconSize = isMobile ? 36 : 44;
|
|
@@ -1449,7 +1440,6 @@ var ChatInput = (props) => {
|
|
|
1449
1440
|
const isVoiceModeEligible = isSTTAvailable && isTTSAvailable;
|
|
1450
1441
|
const isMemoryEnabled = preferences.memoryEnabled && showMemoryToggle();
|
|
1451
1442
|
const isDocumentUploadEnabled = showDocumentUpload();
|
|
1452
|
-
const isFeedbackEnabled = preferences.feedbackEnabled;
|
|
1453
1443
|
const gatewayUrlLower = packageSettings?.gatewayApiUrl?.toLowerCase?.() ?? "";
|
|
1454
1444
|
const isPlaygroundMode2 = packageSettings?.playgroundMode === true || gatewayUrlLower.startsWith("playground://") || typeof window !== "undefined" && window.location.pathname.includes("/playground");
|
|
1455
1445
|
useEffect4(() => {
|
|
@@ -1644,17 +1634,9 @@ ${sanitize(
|
|
|
1644
1634
|
const memory = localStorage.getItem("bandit-memory");
|
|
1645
1635
|
const hasAttachmentAction = !isPlaygroundMode2 && fileInputs.length < 3 && isDocumentUploadEnabled;
|
|
1646
1636
|
const hasMemoryAction = false;
|
|
1647
|
-
const hasFeedbackAction = isFeedbackEnabled && isMobile;
|
|
1648
1637
|
const hasSttAction = isSTTAvailable && !isVoiceModeEnabled;
|
|
1649
|
-
const hasVoicePickerAction = isMobile && isTTSAvailable && availableVoices.length > 0;
|
|
1650
1638
|
const hasComposeContent = !!inputValue.trim() || pastedImages.length > 0 || fileInputs.length > 0;
|
|
1651
1639
|
const showSendButton = streamingActive || hasComposeContent || !isVoiceModeEligible;
|
|
1652
|
-
const hasSecondaryActions = isMobile && (hasAttachmentAction || hasMemoryAction || hasFeedbackAction || hasSttAction || hasVoicePickerAction);
|
|
1653
|
-
useEffect4(() => {
|
|
1654
|
-
if (!isMobile || !hasSecondaryActions) {
|
|
1655
|
-
setMoreActionsOpen(false);
|
|
1656
|
-
}
|
|
1657
|
-
}, [isMobile, hasSecondaryActions]);
|
|
1658
1640
|
const renderAttachmentButton = (key) => {
|
|
1659
1641
|
if (!hasAttachmentAction) return null;
|
|
1660
1642
|
return /* @__PURE__ */ jsx9(Tooltip2, { title: "Attach files or images", children: /* @__PURE__ */ jsx9(
|
|
@@ -1691,24 +1673,6 @@ ${sanitize(
|
|
|
1691
1673
|
}
|
|
1692
1674
|
) }, key ?? "memory");
|
|
1693
1675
|
};
|
|
1694
|
-
const renderFeedbackButton = (key) => {
|
|
1695
|
-
if (!hasFeedbackAction) return null;
|
|
1696
|
-
return /* @__PURE__ */ jsx9(Tooltip2, { title: "Send Feedback", children: /* @__PURE__ */ jsx9(
|
|
1697
|
-
IconButton5,
|
|
1698
|
-
{
|
|
1699
|
-
onClick: () => setFeedbackModalOpen(true),
|
|
1700
|
-
sx: {
|
|
1701
|
-
bgcolor: badgeBackground,
|
|
1702
|
-
color: fileText,
|
|
1703
|
-
width: primaryIconSize,
|
|
1704
|
-
height: primaryIconSize,
|
|
1705
|
-
borderRadius: "50%",
|
|
1706
|
-
"&:hover": { bgcolor: hoverBadgeBackground }
|
|
1707
|
-
},
|
|
1708
|
-
children: /* @__PURE__ */ jsx9(FeedbackIcon, { fontSize: "small" })
|
|
1709
|
-
}
|
|
1710
|
-
) }, key ?? "feedback");
|
|
1711
|
-
};
|
|
1712
1676
|
const renderSttButton = (key) => {
|
|
1713
1677
|
if (!hasSttAction) return null;
|
|
1714
1678
|
return /* @__PURE__ */ jsx9(Box6, { sx: { display: "flex", alignItems: "center" }, children: /* @__PURE__ */ jsx9(transcriber_default, { onTranscriptionCompleted: handleTranscriptionCompleted }) }, key ?? "stt");
|
|
@@ -1740,25 +1704,6 @@ ${sanitize(
|
|
|
1740
1704
|
},
|
|
1741
1705
|
key ?? "voice-mode"
|
|
1742
1706
|
);
|
|
1743
|
-
const renderVoicePickerButton = (key) => {
|
|
1744
|
-
if (!hasVoicePickerAction) return null;
|
|
1745
|
-
return /* @__PURE__ */ jsx9(Tooltip2, { title: `Voice: ${selectedVoice ? toTitleCase(selectedVoice.split("-")[1] ?? selectedVoice) : "Default"}`, children: /* @__PURE__ */ jsx9(
|
|
1746
|
-
IconButton5,
|
|
1747
|
-
{
|
|
1748
|
-
onClick: (e) => setVoiceAnchorEl(e.currentTarget),
|
|
1749
|
-
sx: {
|
|
1750
|
-
bgcolor: badgeBackground,
|
|
1751
|
-
color: fileText,
|
|
1752
|
-
width: primaryIconSize,
|
|
1753
|
-
height: primaryIconSize,
|
|
1754
|
-
borderRadius: "50%",
|
|
1755
|
-
"&:hover": { bgcolor: hoverBadgeBackground }
|
|
1756
|
-
},
|
|
1757
|
-
"aria-label": "Change voice",
|
|
1758
|
-
children: /* @__PURE__ */ jsx9(VoicePickerIcon, { size: 18 })
|
|
1759
|
-
}
|
|
1760
|
-
) }, key ?? "voice");
|
|
1761
|
-
};
|
|
1762
1707
|
return /* @__PURE__ */ jsxs6(Fragment5, { children: [
|
|
1763
1708
|
/* @__PURE__ */ jsxs6(
|
|
1764
1709
|
Box6,
|
|
@@ -2003,31 +1948,7 @@ ${sanitize(
|
|
|
2003
1948
|
children: voiceStatus === "error" ? voiceError || "Voice mode unavailable" : voiceStatus === "initializing" ? "Starting voice mode..." : voiceStatus === "recording" ? "Recording..." : voiceStatus === "processing" ? "Transcribing..." : voiceLastTranscript ? `Heard: "${voiceLastTranscript.length > 60 ? `${voiceLastTranscript.slice(0, 57)}...` : voiceLastTranscript}"` : "Listening..."
|
|
2004
1949
|
}
|
|
2005
1950
|
),
|
|
2006
|
-
isMobile &&
|
|
2007
|
-
IconButton5,
|
|
2008
|
-
{
|
|
2009
|
-
onClick: () => setMoreActionsOpen((prev) => !prev),
|
|
2010
|
-
sx: {
|
|
2011
|
-
bgcolor: badgeBackground,
|
|
2012
|
-
color: fileText,
|
|
2013
|
-
width: primaryIconSize,
|
|
2014
|
-
height: primaryIconSize,
|
|
2015
|
-
borderRadius: "50%",
|
|
2016
|
-
transition: "background-color 0.2s ease",
|
|
2017
|
-
"&:hover": { bgcolor: hoverBadgeBackground }
|
|
2018
|
-
},
|
|
2019
|
-
children: /* @__PURE__ */ jsx9(
|
|
2020
|
-
ExpandMoreIcon,
|
|
2021
|
-
{
|
|
2022
|
-
fontSize: "small",
|
|
2023
|
-
sx: {
|
|
2024
|
-
transition: "transform 0.2s ease",
|
|
2025
|
-
transform: moreActionsOpen ? "rotate(0deg)" : "rotate(180deg)"
|
|
2026
|
-
}
|
|
2027
|
-
}
|
|
2028
|
-
)
|
|
2029
|
-
}
|
|
2030
|
-
),
|
|
1951
|
+
isMobile && renderAttachmentButton("attach-mobile"),
|
|
2031
1952
|
isMobile && /* @__PURE__ */ jsx9(engine_picker_default, {})
|
|
2032
1953
|
]
|
|
2033
1954
|
}
|
|
@@ -2058,7 +1979,7 @@ ${sanitize(
|
|
|
2058
1979
|
),
|
|
2059
1980
|
/* @__PURE__ */ jsxs6(Box6, { sx: { display: "flex", alignItems: "center", gap: isMobile ? 0.6 : 1 }, children: [
|
|
2060
1981
|
!isMobile && /* @__PURE__ */ jsx9(engine_picker_default, {}),
|
|
2061
|
-
|
|
1982
|
+
renderSttButton("stt-right"),
|
|
2062
1983
|
isVoiceModeEligible && !showSendButton && renderVoiceModeButton("voice-right"),
|
|
2063
1984
|
showSendButton && /* @__PURE__ */ jsx9(Tooltip2, { title: isStreaming ? "Stop response" : "Send message", children: /* @__PURE__ */ jsx9("span", { children: /* @__PURE__ */ jsx9(
|
|
2064
1985
|
IconButton5,
|
|
@@ -2083,46 +2004,6 @@ ${sanitize(
|
|
|
2083
2004
|
] })
|
|
2084
2005
|
]
|
|
2085
2006
|
}
|
|
2086
|
-
),
|
|
2087
|
-
isMobile && hasSecondaryActions && /* @__PURE__ */ jsx9(Collapse, { in: moreActionsOpen, unmountOnExit: true, children: /* @__PURE__ */ jsxs6(
|
|
2088
|
-
Box6,
|
|
2089
|
-
{
|
|
2090
|
-
sx: {
|
|
2091
|
-
display: "flex",
|
|
2092
|
-
alignItems: "center",
|
|
2093
|
-
gap: 0.7,
|
|
2094
|
-
mt: 0.6,
|
|
2095
|
-
flexWrap: "wrap",
|
|
2096
|
-
justifyContent: "flex-end"
|
|
2097
|
-
},
|
|
2098
|
-
children: [
|
|
2099
|
-
renderAttachmentButton("attach-tray"),
|
|
2100
|
-
renderMemoryButton("memory-tray"),
|
|
2101
|
-
renderSttButton("stt-tray"),
|
|
2102
|
-
renderVoicePickerButton("voice-tray"),
|
|
2103
|
-
renderFeedbackButton("feedback-tray")
|
|
2104
|
-
]
|
|
2105
|
-
}
|
|
2106
|
-
) }),
|
|
2107
|
-
hasVoicePickerAction && /* @__PURE__ */ jsx9(
|
|
2108
|
-
Menu2,
|
|
2109
|
-
{
|
|
2110
|
-
anchorEl: voiceAnchorEl,
|
|
2111
|
-
open: Boolean(voiceAnchorEl),
|
|
2112
|
-
onClose: () => setVoiceAnchorEl(null),
|
|
2113
|
-
children: availableVoices.map((voice) => /* @__PURE__ */ jsx9(
|
|
2114
|
-
MenuItem2,
|
|
2115
|
-
{
|
|
2116
|
-
selected: voice === selectedVoice,
|
|
2117
|
-
onClick: () => {
|
|
2118
|
-
handleVoiceChange(voice);
|
|
2119
|
-
setVoiceAnchorEl(null);
|
|
2120
|
-
},
|
|
2121
|
-
children: toTitleCase(voice.split("-")[1] ?? voice)
|
|
2122
|
-
},
|
|
2123
|
-
voice
|
|
2124
|
-
))
|
|
2125
|
-
}
|
|
2126
2007
|
)
|
|
2127
2008
|
]
|
|
2128
2009
|
}
|
|
@@ -2145,15 +2026,7 @@ ${sanitize(
|
|
|
2145
2026
|
]
|
|
2146
2027
|
}
|
|
2147
2028
|
),
|
|
2148
|
-
isMemoryEnabled && /* @__PURE__ */ jsx9(memory_modal_default, { open: memoryOpen, onClose: () => setMemoryOpen(false) })
|
|
2149
|
-
isFeedbackEnabled && /* @__PURE__ */ jsx9(
|
|
2150
|
-
FeedbackModal,
|
|
2151
|
-
{
|
|
2152
|
-
open: feedbackModalOpen,
|
|
2153
|
-
onClose: () => setFeedbackModalOpen(false),
|
|
2154
|
-
feedbackEmail: packageSettings?.feedbackEmail
|
|
2155
|
-
}
|
|
2156
|
-
)
|
|
2029
|
+
isMemoryEnabled && /* @__PURE__ */ jsx9(memory_modal_default, { open: memoryOpen, onClose: () => setMemoryOpen(false) })
|
|
2157
2030
|
] });
|
|
2158
2031
|
};
|
|
2159
2032
|
var chat_input_default = ChatInput;
|
|
@@ -5356,10 +5229,10 @@ import {
|
|
|
5356
5229
|
TextField as TextField7,
|
|
5357
5230
|
InputAdornment,
|
|
5358
5231
|
useMediaQuery as useMediaQuery5,
|
|
5359
|
-
Collapse
|
|
5232
|
+
Collapse,
|
|
5360
5233
|
Divider as Divider3,
|
|
5361
|
-
Menu as
|
|
5362
|
-
MenuItem as
|
|
5234
|
+
Menu as Menu4,
|
|
5235
|
+
MenuItem as MenuItem4,
|
|
5363
5236
|
ListItemIcon as ListItemIcon3,
|
|
5364
5237
|
ListItemText as ListItemText3,
|
|
5365
5238
|
Dialog as Dialog5,
|
|
@@ -5386,8 +5259,8 @@ import {
|
|
|
5386
5259
|
Typography as Typography6,
|
|
5387
5260
|
Avatar as Avatar3,
|
|
5388
5261
|
Chip as Chip2,
|
|
5389
|
-
Menu as
|
|
5390
|
-
MenuItem as
|
|
5262
|
+
Menu as Menu2,
|
|
5263
|
+
MenuItem as MenuItem2,
|
|
5391
5264
|
Alert,
|
|
5392
5265
|
CircularProgress as CircularProgress3,
|
|
5393
5266
|
SwipeableDrawer as SwipeableDrawer2,
|
|
@@ -5883,7 +5756,7 @@ var ProjectManagementModal = ({
|
|
|
5883
5756
|
}
|
|
5884
5757
|
),
|
|
5885
5758
|
/* @__PURE__ */ jsxs9(
|
|
5886
|
-
|
|
5759
|
+
Menu2,
|
|
5887
5760
|
{
|
|
5888
5761
|
anchorEl: menuAnchor,
|
|
5889
5762
|
open: Boolean(menuAnchor),
|
|
@@ -5905,7 +5778,7 @@ var ProjectManagementModal = ({
|
|
|
5905
5778
|
},
|
|
5906
5779
|
children: [
|
|
5907
5780
|
/* @__PURE__ */ jsx12(
|
|
5908
|
-
|
|
5781
|
+
MenuItem2,
|
|
5909
5782
|
{
|
|
5910
5783
|
onClick: () => {
|
|
5911
5784
|
if (!selectedProject) return;
|
|
@@ -5918,7 +5791,7 @@ var ProjectManagementModal = ({
|
|
|
5918
5791
|
}
|
|
5919
5792
|
),
|
|
5920
5793
|
/* @__PURE__ */ jsx12(
|
|
5921
|
-
|
|
5794
|
+
MenuItem2,
|
|
5922
5795
|
{
|
|
5923
5796
|
onClick: () => {
|
|
5924
5797
|
if (!selectedProject) return;
|
|
@@ -6159,8 +6032,8 @@ import {
|
|
|
6159
6032
|
Box as Box11,
|
|
6160
6033
|
Typography as Typography8,
|
|
6161
6034
|
IconButton as IconButton8,
|
|
6162
|
-
Menu as
|
|
6163
|
-
MenuItem as
|
|
6035
|
+
Menu as Menu3,
|
|
6036
|
+
MenuItem as MenuItem3,
|
|
6164
6037
|
ListItemIcon as ListItemIcon2,
|
|
6165
6038
|
ListItemText as ListItemText2,
|
|
6166
6039
|
useMediaQuery as useMediaQuery4,
|
|
@@ -6497,7 +6370,7 @@ var SimpleConversationItem = ({
|
|
|
6497
6370
|
}
|
|
6498
6371
|
),
|
|
6499
6372
|
/* @__PURE__ */ jsxs11(
|
|
6500
|
-
|
|
6373
|
+
Menu3,
|
|
6501
6374
|
{
|
|
6502
6375
|
anchorEl,
|
|
6503
6376
|
open: Boolean(anchorEl),
|
|
@@ -6523,15 +6396,15 @@ var SimpleConversationItem = ({
|
|
|
6523
6396
|
}
|
|
6524
6397
|
},
|
|
6525
6398
|
children: [
|
|
6526
|
-
onRename && /* @__PURE__ */ jsxs11(
|
|
6399
|
+
onRename && /* @__PURE__ */ jsxs11(MenuItem3, { onClick: handleEdit, children: [
|
|
6527
6400
|
/* @__PURE__ */ jsx14(ListItemIcon2, { children: /* @__PURE__ */ jsx14(EditIcon3, { size: 16 }) }),
|
|
6528
6401
|
/* @__PURE__ */ jsx14(ListItemText2, { children: "Rename" })
|
|
6529
6402
|
] }),
|
|
6530
|
-
onMove && /* @__PURE__ */ jsxs11(
|
|
6403
|
+
onMove && /* @__PURE__ */ jsxs11(MenuItem3, { onClick: handleMove, children: [
|
|
6531
6404
|
/* @__PURE__ */ jsx14(ListItemIcon2, { children: /* @__PURE__ */ jsx14(MoveIcon, { size: 16 }) }),
|
|
6532
6405
|
/* @__PURE__ */ jsx14(ListItemText2, { children: "Move to Project" })
|
|
6533
6406
|
] }),
|
|
6534
|
-
/* @__PURE__ */ jsxs11(
|
|
6407
|
+
/* @__PURE__ */ jsxs11(MenuItem3, { onClick: handleDelete, children: [
|
|
6535
6408
|
/* @__PURE__ */ jsx14(ListItemIcon2, { children: /* @__PURE__ */ jsx14(DeleteIcon2, { size: 16 }) }),
|
|
6536
6409
|
/* @__PURE__ */ jsx14(ListItemText2, { children: "Delete" })
|
|
6537
6410
|
] })
|
|
@@ -6614,7 +6487,7 @@ import {
|
|
|
6614
6487
|
TextField as TextField6,
|
|
6615
6488
|
alpha as alpha7
|
|
6616
6489
|
} from "@mui/material";
|
|
6617
|
-
import { ChevronDown as
|
|
6490
|
+
import { ChevronDown as ExpandMoreIcon, ChevronUp as ExpandLessIcon, Plus as AddIcon3, Folder as FolderIcon3, FolderOpen as FolderOpenIcon, Inbox as InboxIcon2, X as CloseIcon5, Check as CheckIcon4 } from "lucide-react";
|
|
6618
6491
|
import { useTheme as useTheme12 } from "@mui/material/styles";
|
|
6619
6492
|
import { jsx as jsx15, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
6620
6493
|
var ProjectHeader = ({
|
|
@@ -6880,7 +6753,7 @@ var ProjectHeader = ({
|
|
|
6880
6753
|
color: theme.palette.text.secondary,
|
|
6881
6754
|
transition: "transform 0.2s ease"
|
|
6882
6755
|
},
|
|
6883
|
-
children: isCollapsed ? /* @__PURE__ */ jsx15(
|
|
6756
|
+
children: isCollapsed ? /* @__PURE__ */ jsx15(ExpandMoreIcon, { size: 16 }) : /* @__PURE__ */ jsx15(ExpandLessIcon, { size: 16 })
|
|
6884
6757
|
}
|
|
6885
6758
|
)
|
|
6886
6759
|
]
|
|
@@ -7512,7 +7385,7 @@ var ConversationDrawer = ({ open, onClose }) => {
|
|
|
7512
7385
|
}
|
|
7513
7386
|
}
|
|
7514
7387
|
),
|
|
7515
|
-
/* @__PURE__ */ jsx16(
|
|
7388
|
+
/* @__PURE__ */ jsx16(Collapse, { in: !group.collapsed, children: /* @__PURE__ */ jsxs13(Box13, { sx: { pb: 1 }, children: [
|
|
7516
7389
|
group.conversations.map((conversation) => /* @__PURE__ */ jsx16(
|
|
7517
7390
|
simple_conversation_item_default,
|
|
7518
7391
|
{
|
|
@@ -7782,7 +7655,7 @@ var ConversationDrawer = ({ open, onClose }) => {
|
|
|
7782
7655
|
}
|
|
7783
7656
|
),
|
|
7784
7657
|
/* @__PURE__ */ jsxs13(
|
|
7785
|
-
|
|
7658
|
+
Menu4,
|
|
7786
7659
|
{
|
|
7787
7660
|
anchorEl: menuAnchorEl,
|
|
7788
7661
|
open: Boolean(menuAnchorEl),
|
|
@@ -7797,7 +7670,7 @@ var ConversationDrawer = ({ open, onClose }) => {
|
|
|
7797
7670
|
},
|
|
7798
7671
|
children: [
|
|
7799
7672
|
preferences.feedbackEnabled && /* @__PURE__ */ jsxs13(
|
|
7800
|
-
|
|
7673
|
+
MenuItem4,
|
|
7801
7674
|
{
|
|
7802
7675
|
onClick: () => {
|
|
7803
7676
|
setFeedbackOpen(true);
|
|
@@ -7810,7 +7683,7 @@ var ConversationDrawer = ({ open, onClose }) => {
|
|
|
7810
7683
|
}
|
|
7811
7684
|
),
|
|
7812
7685
|
/* @__PURE__ */ jsxs13(
|
|
7813
|
-
|
|
7686
|
+
MenuItem4,
|
|
7814
7687
|
{
|
|
7815
7688
|
onClick: () => {
|
|
7816
7689
|
setClearConfirmOpen(true);
|
|
@@ -7873,10 +7746,10 @@ import {
|
|
|
7873
7746
|
TextField as TextField8,
|
|
7874
7747
|
InputAdornment as InputAdornment2,
|
|
7875
7748
|
Slide,
|
|
7876
|
-
Collapse as
|
|
7749
|
+
Collapse as Collapse2,
|
|
7877
7750
|
Divider as Divider4,
|
|
7878
|
-
Menu as
|
|
7879
|
-
MenuItem as
|
|
7751
|
+
Menu as Menu5,
|
|
7752
|
+
MenuItem as MenuItem5,
|
|
7880
7753
|
ListItemIcon as ListItemIcon4,
|
|
7881
7754
|
ListItemText as ListItemText4,
|
|
7882
7755
|
Dialog as Dialog6,
|
|
@@ -8623,7 +8496,7 @@ var EnhancedMobileConversationsModal = ({
|
|
|
8623
8496
|
isTouchTarget: touchDragActive && touchDragState.hoverProjectId === group.id
|
|
8624
8497
|
}
|
|
8625
8498
|
),
|
|
8626
|
-
/* @__PURE__ */ jsx17(
|
|
8499
|
+
/* @__PURE__ */ jsx17(Collapse2, { in: !group.collapsed, children: /* @__PURE__ */ jsx17(
|
|
8627
8500
|
Box14,
|
|
8628
8501
|
{
|
|
8629
8502
|
"data-project-id": group.id ?? "__ungrouped",
|
|
@@ -8940,7 +8813,7 @@ var EnhancedMobileConversationsModal = ({
|
|
|
8940
8813
|
}
|
|
8941
8814
|
),
|
|
8942
8815
|
/* @__PURE__ */ jsx17(
|
|
8943
|
-
|
|
8816
|
+
Menu5,
|
|
8944
8817
|
{
|
|
8945
8818
|
anchorEl: menuAnchorEl,
|
|
8946
8819
|
open: Boolean(menuAnchorEl),
|
|
@@ -8954,7 +8827,7 @@ var EnhancedMobileConversationsModal = ({
|
|
|
8954
8827
|
horizontal: "right"
|
|
8955
8828
|
},
|
|
8956
8829
|
children: /* @__PURE__ */ jsxs14(
|
|
8957
|
-
|
|
8830
|
+
MenuItem5,
|
|
8958
8831
|
{
|
|
8959
8832
|
onClick: () => {
|
|
8960
8833
|
setClearConfirmOpen(true);
|
|
@@ -11585,4 +11458,4 @@ var chat_default = Chat;
|
|
|
11585
11458
|
export {
|
|
11586
11459
|
chat_default
|
|
11587
11460
|
};
|
|
11588
|
-
//# sourceMappingURL=chunk-
|
|
11461
|
+
//# sourceMappingURL=chunk-EWAZFMA3.mjs.map
|